<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\User;
class Withdraw extends Model
{
    use SoftDeletes;
    
    public static $status = [ 1 => '已通过', 0 => '待审核'];
    
    
    public function user()
    {
        return $this->hasOne(User::class, 'id', 'user_id');
    }
    
}
